package com.aaa.service.impl;

import com.aaa.dao.FReturnsMapper;
import com.aaa.dao.FcartMapper;
import com.aaa.entity.F_returns;
import com.aaa.entity.Fcart;
import com.aaa.service.FReturnsService;
import com.aaa.service.FcartServiceDao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class FReturnsServiceImpl extends ServiceImpl<FReturnsMapper, F_returns> implements FReturnsService {
    @Resource
    FReturnsMapper returnsMapper;
    @Override
    public int up(Integer state, Integer id) {
        return returnsMapper.up(state,id);
    }

    @Override
    public int add(F_returns returns) {
        return returnsMapper.add(returns);
    }
}
